package com.zcup.designer.behavior.visitor;

public class ConcreteElementB extends Element{
    @Override
    void accept(Visitor visitor) {
        visitor.visitConcreteElementB(this);
    }
    void operationA(){
        System.out.println(this.getClass().getDeclaredMethods()[1].getName());
    }
}
